package com.aisb.manage;

import com.github.pagehelper.Page;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * @Description：
 * @Author wucm
 * @Date 2017/12/28
 */
@Service
public class LogManageService {

    @Autowired
    LogManageDao logDao;

    public Page logList(Map param, Integer pageNum, Integer pageSize) {
        if(null == pageNum){
            pageNum = 1;
        }
        if(null == pageSize){
            pageSize = 999999;
        }

        return logDao.searchPage(param, pageNum, pageSize);
    }
}
